ROOT = .
VM_ROOT = ../../../..

USER_OBJ = \
    $(OBJ)/main$(OBJ_SUFF)\
    $(OBJ)/my_interpreter$(OBJ_SUFF)\
    $(OBJ)/my_translator$(OBJ_SUFF)\
    $(OBJ)/translatorVisitor$(OBJ_SUFF)

include $(VM_ROOT)/common.mk

MATHVM = $(BIN)/mvm

all: $(MATHVM)

$(MATHVM): $(OUT) $(MATHVM_OBJ) $(USER_OBJ)
	$(CXX) -o $@ $(MATHVM_OBJ) $(USER_OBJ) $(LIBS)